<?php
require_once 'Endpoint.php';
require_once 'model/DBContext.php';

/**
 * 
 */
class DumpTablesEndpoint extends Endpoint {
	
	var $table;
	
	public function runService($context, $format) {
		$context->createConnection();
		$context->getDataFromTable($format, $this->table);
	}
	
	public function setTable($table) {
		$this->table = $table;
	}
	
}


?>